package com.wesleyone.sc.handler;

import com.alibaba.csp.sentinel.slots.block.BlockException;
import com.wesleyone.sc.entities.CommonResult;

/**
 * @Author: wesleyOne
 * @Email: wesleyone666@163.com
 * @Gitee: https://gitee.com/wesleyOne
 * @Date: 2020/8/30
 */
public class CustomerBlockHandler  {

    public static CommonResult handlerException(BlockException exception) {
        return new CommonResult(4444, "按客户自定义，global handlerException----1");
    }
}
